package util;

public class Tool {
    private String name;

    public Tool(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void use() {
        System.out.println("使用工具：" + name);
    }
}
